export KRO_VERSION=$(
  curl -sL \
    https://api.github.com/repos/kro-run/kro/releases/latest |
    jq -r '.tag_name | ltrimstr("v")'
)
export namespace="kro-system"
export app_name="kro"
export helm="oci://ghcr.io/kro-run/kro/kro"

# helm repo remove $repo
# helm repo add $repo $url
# helm repo update $repo

# helm search repo dapr --devel --versions

helm upgrade --create-namespace --install \
  -n $namespace $app_name $helm \
  --version=${KRO_VERSION}
# --values values.yaml
